package org.xx.armory.spring5.mq;

import java.util.Date;

public class MessageTimeoutException
        extends RuntimeException {
    static final long serialVersionUID = 1L;

    public MessageTimeoutException(
            long id,
            Date produceTimestamp,
            Date timeoutTimestamp
    ) {
        super("Message timeout(id=" + id + ",produce=" + produceTimestamp + ",timeout=" + timeoutTimestamp);
    }
}
